package com.coship.vas.dapg.rest.bean;

/**
 * 
 * @param <T>
 *            File Name : RestPageResult.java
 * @Description : Rest服务返回结果，包括状态、状态描述、返回数据、分页信息
 * @author 904304
 */
public class RestPageResult<T> {

	private int ret;// 状态 0：正常
	
	private String retInfo;// 状态描述

	private int curPage;// 当前页码
	
	private int pageCount;// 总页数
	
	private int pageRowCount;// 每页显示的记录数

	private T datas;// 返回数据

	public int getRet() {
		return ret;
	}

	public void setRet(int ret) {
		this.ret = ret;
	}

	public String getRetInfo() {
		return retInfo;
	}

	public void setRetInfo(String retInfo) {
		this.retInfo = retInfo;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public int getPageRowCount() {
		return pageRowCount;
	}

	public void setPageRowCount(int pageRowCount) {
		this.pageRowCount = pageRowCount;
	}

	public T getDatas() {
		return datas;
	}

	public void setDatas(T datas) {
		this.datas = datas;
	}

}
